package com.lizheng.yunservice.travel.doamin;

import com.baomidou.mybatisplus.annotation.*;
import lombok.Data;

import java.util.Date;

@Data
@TableName("vtp_scenic")
public class VtpScenic {
    @TableId(value = "scenic_id")
    private Integer scenicId;
    private String scenicNo;
    private String scenicName;
    private String ancientName;
    private String logoUrl;
    private String siftImgUrl;
    private String audioUrl;
    private String vrUrl;
    private String propaganda;
    private String summary;
    private String features;
    private String content;
    private Integer provinceId;
    private Integer cityId;
    private Integer districtId;
    private String address;
    private String longitude;
    private String latitude;
    private Integer showStatus;
    private Integer status;
    
    @TableField(fill = FieldFill.INSERT)
    private String createBy;
    
    @TableField(fill = FieldFill.INSERT)
    private Date createTime;
    
    @TableField(fill = FieldFill.INSERT_UPDATE)
    private String updateBy;
    
    @TableField(fill = FieldFill.INSERT_UPDATE)
    private Date updateTime;
    
    private Integer deleteFlag;
    private Long deleteUserId;
    private Date deleteTime;
    private Double distance;
    
    // Lombok的@Data注解会自动生成setDistance方法
    // 如果没有使用Lombok，需要手动添加:
    // public void setDistance(Double distance) {
    //     this.distance = distance;
    // }
}
